package com.neu.mianxiangduixiang;
/**
 * mayt马越参数类型不同参数个数不同类型的顺序不同 跟返回值类型无关
 *
 *
 *
 */

import java.util.Scanner;

public class qiuhe {
    public static void main(String[] args) {
        System.out.println("输入求和");
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        int z = scanner.nextInt();
        System.out.println(qiuhe(x,y,z));
    }
    public static int qiuhe(int x,int y,int z){
        int sum = x+y+z;
        return sum;
    }
}
